import { httpPost } from '@/util/http'
import store from '@/store/index'

class Returns {
  // 创建borrow
  put(data) {
    return httpPost(
      '/return/put',
      data,
      {
        contentType: 'application/json'
      },
      {
        sessionId: store.state.user.session_id
      }
    )
  }
}

export const returns = new Returns()
